/**
 * 
 */
package org.dragonfire.parser.functions;

import org.dragonfire.parser.Equation;
import org.dragonfire.util.DString;

/**
 * @author Darth Android
 * @date Aug 16, 2007
 */
public class Eval extends Function {

	@Override
	public String eval(Equation equ, String[] params) {
		return DString.extractString(equ.eval(params[0]));
	}

	@Override
	public int minParams() {
		return 1;
	}
}
